home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950528-19950726 / 000077_news@columbia.edu_Tue Jun 6 19:40:33 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA06884
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 6 Jun 1995 20:45:33 -0400
  3. Received: by apakabar.cc.columbia.edu id AA18079
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 6 Jun 1995 20:45:31 -0400
  5. Path: news.columbia.edu!panix!bloom-beacon.mit.edu!news.kei.com!news.mathworks.com!gatech!news.sprintlink.net!malgudi.oar.net!cmhcsys.cmhcsys.com!chuck
  6. From: chuck@cmhcsys.com (Chuck Stickelman)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Kermit as data-entry clerk
  9. Date: 6 Jun 1995 19:40:33 GMT
  10. Organization: CMHC Systems, Dublin, Ohio
  11. Lines: 57
  12. Message-Id: <3r2avh$cdm@cmhcsys.cmhcsys.com>
  13. Nntp-Posting-Host: news.cmhcsys.com
  14. Summary: Using kermit to eliminate data-entry redundancy
  15. Keywords: kermit variables
  16. X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
  17. X-Newsreader: TIN [version 1.2 PL2]
  18. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  19.  
  20. Howdy all,
  21.  
  22. I'll start w/ a little background:
  23. We have a customer how needs to get information from our proprietary
  24. database into a county-wide system.  Unfortunately, the county-wide
  25. system does not allow batch transfers of any kind. Therefore, the 
  26. customer has been paying a full-time employee to run a couple of
  27. reports on our system and then re-key the data into the other database.
  28. Needless to say, this is less than ideal.
  29.  
  30. I proposed that we output the data to a DOS file in a format Kermit
  31. would like: {field data    }{more field data   }{even more...} etc.
  32. No problem.  Then I thought we could use Kermit's 'read', 'assign'
  33. and 'output' commands to fake the remote system into thinking a real
  34. -live human was on the other end.  Something like:
  35.  
  36.     define parse assign \%a \%1, assign \%b \%2, assign \%c \%3, ...
  37.     open somefile.dat
  38.     read \%z
  39.     parse \%z
  40.     output \%a
  41.     output \%b
  42.     output \%c
  43.     ...
  44.  
  45. However, the records in somefile.dat have too many fields (>35 in one
  46. instance) and I'm running out of both temporary and permanent variables.
  47. I've read the relevant pages in "Using MS-KERMIT" and understand that
  48. there are 10 temporary variables (0-9) and 26 permanent variables (a-z),
  49. but wonder if there's anyway I can "easily" change that or get around
  50. those limitations!?
  51.  
  52. I'm open to ideas, comments or what-ever.  I don't expect anyone else to
  53. code this for me, just looking for different perspectives.
  54.  
  55. FWIW, I've considered breaking the records into multiple lines for the
  56. read command, but I think this will make the whole process much more
  57. fragile than it already is... 
  58.  
  59. Thanks
  60. Chuck
  61.  
  62. --
  63. Charles A. Stickelman            <chuck@cmhcsys.com>
  64. PC Sales Engineer
  65. CMHC Systems, Inc.            Work:    (614) 764-0143
  66. 570 Metro Place North            Sales:    (800) 528-9025
  67. Dublin, OH 43017 USA            FAX:    (614) 764-0439
  68. -- 
  69.  
  70. --
  71. Charles A. Stickelman            <chuck@cmhcsys.com>
  72. PC Sales Engineer
  73. CMHC Systems, Inc.            Work:    (614) 764-0143
  74. 570 Metro Place North            Sales:    (800) 528-9025
  75. Dublin, OH 43017 USA            FAX:    (614) 764-0439
  76. --